package com.thinkgem.jeesite.modules.hk.shop.entity.shop;

import com.thinkgem.jeesite.common.persistence.BaseEntity;
import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.utils.DateUtils;
import com.thinkgem.jeesite.modules.hk.shop.entity.product.HkShopProduct;
import com.thinkgem.jeesite.modules.hk.sys.entity.user.HkUser;
import com.thinkgem.jeesite.modules.sys.entity.User;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * 优惠券订单表
 *
 * @ProjectName: merchant
 * @Package: com.thinkgem.jeesite.modules.hk.shop.entity.shop
 * @ClassName: HkUserShopCouponOrder
 * @Description: 优惠券订单表
 * @Author: lxr
 * @CreateDate: 2018-10-31 9:10
 * @UpdateUser: lxr
 * @UpdateDate: 2018-10-31 9:10
 * @UpdateRemark: The modified content
 * @Version: 1.0
 **/
public class HkUserShopCouponOrder extends DataEntity<HkUserShopCouponOrder> {

    private static final long serialVersionUID = 1L;

    private HkUser user;  //用户
    private HkShopProduct product; //商品ID
    private HkShopCoupon coupon;  //优惠券ID
    private String orderNumber;  //订单
    private String total_fee;  //支付金额
    private String integral;  // 乐币
    private String transaction_id;  //微信订单号
    private String result_code;  // 业务结果  success/fail


    public HkUser getUser() {
        return user;
    }

    public void setUser(HkUser user) {
        this.user = user;
    }

    public HkShopProduct getProduct() {
        return product;
    }

    public void setProduct(HkShopProduct product) {
        this.product = product;
    }

    public HkShopCoupon getCoupon() {
        return coupon;
    }

    public void setCoupon(HkShopCoupon coupon) {
        this.coupon = coupon;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getTotal_fee() {
        return total_fee;
    }

    public void setTotal_fee(String total_fee) {
        this.total_fee = total_fee;
    }

    public String getIntegral() {
        return integral;
    }

    public void setIntegral(String integral) {
        this.integral = integral;
    }

    public String getTransaction_id() {
        return transaction_id;
    }

    public void setTransaction_id(String transaction_id) {
        this.transaction_id = transaction_id;
    }

    public String getResult_code() {
        return result_code;
    }

    public void setResult_code(String result_code) {
        this.result_code = result_code;
    }
}
